function [pst] = staf(pval)
% assigns stars to significance level

pst = ' ';
if pval<=.1
    pst = '*';
end
if pval<=.05
    pst = '**';
end
if pval<=.01
    pst = '***';
end

end

